package com.pubsys.main.client.rpc.login;


import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.pubsys.main.shared.exceptions.AuthenticationException;
import com.pubsys.main.shared.model.Autor;

@RemoteServiceRelativePath("login")
public interface LoginService extends RemoteService {
  public void login(String requestUri, String senha) throws AuthenticationException;
  public Autor pegaUsuarioLogado();
  void logout();
}
